Low: controller: validate transition requests better
Use case-sensitive string comparisons, check for NULL/empty strings early,
improve log messages, and refactor to not grab values until needed.
Also, the return value was not used, so make it void.