Lots of changes to rendering..

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>
borked

Signed-off-by: Peter Mårtensson <veritas.is.me@gmail.com>