fixed a few things and checkstyling
more checkstyle on the view side
View checkstyle completed