Cleaned up formatting on help.
Replaced unlock_table's if with else if so unlock_table and lock_table wouldn't generate
  the 'command not recognized error' as well as performing their functions.
Minor bug fixes.