Error handle

Project now compiles but resizing at pause menu is done unproperly. Will
be updated soon.