Plurk: commit bugfixes small

Refactor rgb calculation and mouse