Restored braces to 'main' page, and added some 'TODO' comments in the view HTML files to note where some changes and/or thought are required.