Fixed error message that netbeans picked up, added closing divs and page title, changed edit mode in profile