Fixed a few warnings. Removed some unused code.
Removed the broken "add profile" button in account settings.