Improved sanity of readconn program

Made some error tests more obvious and dealt with whitespace. Also
adjusted package Makefile to correctly install packages