cleaned up css and templates a bit