UI: GUI: Refactor unused variables warnings.