2/6/14 more logic and tests for opening new windows. and i deleted the auto generated main methods in the shells