This fixes misleading errors in the status file, and increases buffer sizes to match the python implementation. Signed-off-by: Karl Palsson <karlp@etactica.com>