Check for compatible types in arrays

Also cleanup some other things, like True/False => Boolean