Fix #137 and relative object positioning

I also fixed a few typos and improved some things.
What problem did you encounter when changing the group when it is already set? Can you give an example that reproduces the problem?