fixed some heap corruption bug? more work on sprite editor