-Fixed Undo Link for Optional Outputs
-Fixed unit movement not registering with UndoStack

Note: This should fix the duplicate resource icon bug, if you notice it happening again, let me know!