removed almost all SDL headers, used stdint types