Added some graphical ops.
Fixed palette bug.
Added FPS counter.