Added checkbox to keep console window open