Moved escape handle to setup
Renamed cur to self
Added comments
Reintended
Added comment
Added self for consistency
Made setContent chainable
Reformated