Now can also copy anchors

Code cleanup: moved all functions to sub-methods.
Moves Macro Window to front