added error layout
refactored templates; added font; css changes; submit lock fix