Small bug fixes

replaced functions to frankenstyle formated names, fixed an issue where
it was setting $this->content to a new stdClass after
$this->content->text had already been assigned