Issue17

Fixes #17.  The app is no longer in debug mode by default.  Also made the application exit process cleaner by 
avoiding running callbacks on image downloads if the application is already closed.