fixed initialization order, forgot to put projection stuff after window created. also fixed cross product mistake