added threading and error messages
added method signatures
Merge branch 'thread' of https://github.com/chennah/appinventor-sources into chennah-thread