Adding window commands and changing title bar