Fixed bugs. Implemented fixed size layout.