Fixes and tweaking

Changed parameter order of mGrid, mRow and mColumn functions.