0.0.4 Update

Used Netbeans to Format code to make indents more uniform.
Fixed an issue with activation due to misplace of check_tables and
user_registration.
Removed unused variables and globals.