Added debug mode, messages, etc.

Also changed activity_main to use @string resource and deleted some
no-long-necessary code