made off-screen rendering to bitmap-dc and made use of color% (probably should change that)