mark outlets as implicitly unwrapped to fix compile error in xcode beta 6
mark the init methods with the correct modifier to fix compile error in beta 6
fix some compilation errors due to failure to convert from CGFloat to float, and some code refactoring