fixed bug. Now properly traps undefined results
tweaked get tiles test
minor tweaks.
test for library support validation
added and clarified event msgs
documented new events