fixed rendering bug and added error checking to relation creation
Merge branch 'master' of https://github.com/nicschumann/set