Added random shutdown messages

Added random shutdown messages
Removed debug value which would cause each line longer than 6 words to
get quoted
Fixed various bugs causing SQL exceptions in the SqlConnector class