Added some docs, mafe internal message handling callback hidden
Added 'state' as an OptionProperty
Fixed 'on_state' prameters