Use the arrow keys; get to the portal. Press the space key if you start to sink.
Took away game ending dieing and added death moniter variable. The big variable is the moniter. Credit to @DracoMustafo!