Some Minor TODO fixes

I made some minor changes to remove some of the low-hanging fruit from the TODO; specifically, there are now checks around `XMapWindow` and `XRaiseWindow` in `placeNode:tree.c`.

I also fixed what seemed to be a problem with the Makefile - at least on my Ubuntu machine, GCC would fail to process the Makefile due to a bad linker order. The reordering change I made makes it compilable for me.