Commandline window configuration, courtesy of http://redd.it/1v7x1a