Code optimisations, FreezeCommand: made reason optional, made some commands available for console