Some bug fixes, still broken profile page.