Ported to windows, using PixelBuffer now