Fixed bug that was caused by the wrong data type.

As stated in the title, the bug was caused by passing the class name "creature" to a function which wanted an /instance/ of the class "creature." For more detail check the git diff. Give class names a capital first letter to avoid this bug in the future.

There was another bug in the draw function that needed the correct names for text controls. I also adding code to make the window wait for the user to hit the close.

I really appreciate the style in which the code was written. I could read the code easily. Thank you and good job!