Remove lots of unused code from original ChibiPaint.