Added styling to search and check boxes; minor refactoring