-Changed game loop from using a infinite while loop to a seperate
thread.
-fixed rendering
-added grid to map screen