Fix #137 and relative object positioning

I also fixed a few typos and improved some things.