refactor nil object rendering code
support for setting current_object with @object
Merge pull request #32 from ajsharp/set-current-object

object syntax to allow setting current object