Properly formatted HTML, proper file writing and cleaner comments