Cleaned up code.
Changed texture filtering from LINEAR to NEAREST.