Fixed major UI bugs.
Updates to GIF encoder.