Minecraft not responding for no reason(Read extra detail please)?

I'm playing Minecraft on my laptop which runs Windows 8 but whenever I minimize the game to say google something and when I return to the game, it stops responding. There's no error message or anything in the console. When it stops responding I choose to just close the program and I end up with this error code:
[19:20:41 ERROR]: Game ended with bad state (exit code -805306369)
[19:20:41 INFO]: Ignoring visibility rule and showing launcher due to a game crash
[19:20:41 INFO]: Deleting

Could someone explain what this code means and why I've been experiencing these crashes?

The most common reason for that error code is that java is not installed correctly, is out of date, or is corrupted. The easiest solution is to reinstall java.

Please visit us at:
website: www.cobblehut.com
server: play.cobblehut.com