remove windows.h from input.c and improve window resize