Minor code editing, and final UI and code set for the Main Page