* Implement compartment handling and handle keyboard status correctly.
* Change coding style. Replace "using namespace Ime" with "namespace Ime {}".