Add some comments, move mouse up listener class to PPMouse and remove redundant code from ColorHelper.