Move plugin code from CODEBOT.ui to CODEBOT.