Added "Anchor X" and "Anchor Y" counterparts of pivot x and pivot y
Properly expand "~" to /home/<user> in python
A lot of utility related coding