Removed getch on exit; uncommented code in model