Layout improvements

Layout is now a little bit more awesome just like I am. Also I fixed a
bug with the newfile button, this thing now actually does something
(like I do).