Cleaned up some code; added better comments; broke css into its own file; removed orphaned files.