A bunch of changes. Fixed some formatting and uniqueness problems.
Working on making checkbox work correctly.