Update rendering

integrates the newest version of the layouter and should fix these issues:
fixes #105
fixes #102
fixes #56
This commit is not in master. Isn't that dangerous somehow? I think it fine but I'm wondering if there is a better way to do that.