Changes to WindowSystem and _resize_window

Changed WindowSystem to take the cursor_library as a parameter instead of using
a global variable in main.

Fixed a mismatch in a print message in _resize_window, they're now printed
min_cols, min_rows, cols, rows.

Also fixed a funny stack overflow bug in the same procedure and some print
garbling outside of the map borders

Alsø wik fixed print garbling if the screen is resized larger than the map
requires.