Being shot while creeping means the enemy was already alert. The same rule that keeps you alert during the enemies' turn if you ended your turn creeping can also be used by the computer player.
The freezing is definitely a bug. I'll have to check it out and see if I can reproduce it. If it happens again please put the saved game file aside and get in touch so I can try to reproduce it from your own game.