cleaned up (good enough for army work), added option to lock and unlock (hardcoded password). dangerous operations (lock and force erase) still disabled (but can be enabled really easily if you get to the bottom of it (hint hint))