Rename keys channel to keysc
Split platform-specific ui code into separate files