This is kind of minor but I consider it to be a bug nonetheless. If you have a message box up the program does not end if you click Stop in the IDE until the message box is closed.