Fixed bug. Blocks can no longer be rotated through the floor, throwing error.
Changed the way blocks are locked into place. By checking a "1" value
instead of a boolean.