Multi-frame drawing
Free temporary memory
Fix whitespace
Fix file saving