Sanitize input handling in engine/misc.txt

No need to adapt any game files as toBool will be ok with numbers 0 and 1