Fixed collisions. The hard coded values of the J and L pieces were wrong (L was J and vice versa). Fixed it. Rotations, extreme pieces and UI are the only things left.