Added comments to all classes and properties.
Updated samples to match the latest features of Notes.
Cleaned up error messages.
Updated colors to require the '#' prefix, rather than '0x'