Major fog changes

Fog Queues, fog all, and undo/redo support now working.