Fixed some bad formatting and a missing include guard

Currently not going to touch the semantic minefield that is getting pointers out of lua. Ignoring the ability to return *this.