Added more event handling and updated readme.

FEATURE: Added event handling for onConnect/onDisconnect.
FEATURE: Added event handling for onServiceConnect/onServiceDisconnect.
OTHER: Updated readme.md with more information.
GUI: Minor changes in the text area's margins.