base openGL functionality added. platform-independant drawbox added