added some more features.

+ a semi-helpful help() function
+ add titles to alerts with alert(title, msg)
+ added path argument for revealApp() and some error handling.