Reorganized Debug flags

Also, the texture mapping/loading is bugged. Fixing it is the next step