F83: Update GvinPaint to work with new image format.

Also changed a little WindowsManager to prevent errors when window was
deleted while drawing windows.