Implement LENGTH and REALLENGTH
Rename LogMissing calls to LogUnused calls for unused commands