Also move some clipboard functions out of TOOL_MANAGER, as they had no dependency on that class, and are just free functions around wxTheClipboard.