Complete code overhaul
* Fixed security mode bypass by pressing back button
* Fixed "popup" security mode; it is the normal one now
* Dead code cleanup in comments
* Commented logging
* Bump version