Fix strange problem for mobile browsers where the number of cols was always 1 less than what was set, hence set col+1 number of columns.
Input validation checks at MasterConnection and SlaveConnection.