UI cleanup. Unused functions