Begin on handling bool uniform arrays properly (as bitmasks)