Mod now runs again (is unbroken).
Fixed some datatyping and absent operator issues.