New onAttach functionality added

Automatic version check and startup messages
Other minor documentation changes