Cleaned up unused imports and vars, improved html interface, and added more translation fixes