Exceptions inherit from ApplicationException.
Added exception support.
Added comments for helpers.
'PATCH' text correctly checked for in Study().
Replaced 'Read' methods.
Removed BinaryReader/BinaryWriter. Fixed misc bugs.