cleaned up some unused code
added required styles, moved form elements around a bit