Added warning when passing zero as framebuffer/rendertarget resolution.
Fixed resize event.
Fixed issue #7. makefile refers to premake executable instead of premake4