Makes the window resizing behavior more consistent between x and y dim

No scaling occurs in any direction when resizing the window.
Fixes a crash when a vehicle meets a dead road end
FPS div is now created in program instead of html

Later css should also be prepared in the program.
Do not draw the vehicle part that is beyond the road end