I think I'm just going to port my code to JavaScript and html5 and forget this shit. it'll be much easier