Solves the bug with the barriers.

Explanation on
http://stackoverflow.com/questions/19766922/my-opencl-code-changes-the-output-based-on-a-seemingly-noop
Moves up the setting of m when not left.

Solves a bug relating to that, also.