Support for center and togglefullscreen. Also migrate to ruby which seems to have a better cocoa binding