replace deprecated set_window_close_hook with set_close_button_callback

Conflicts:
	src/main.cpp