making winforms and console easy to switch between