Problem Description
adding a while loop makes the preview window in any browser crash it dose not matter if the program is blank or not if it helps I'm using windows 8.1 and i tried it on chrome and explorer if you insert the keyboard and tell it when any key activate the while loop it will crash after you press the selected key
open a blank document add a while loop and run it
it will crash any browser