Cleaned up error messages

Fixed punctuations for some error messages and printing options format when the option parameter provided is not a hash.