Fixed multiple PHP warnings with nonexistent class properties being used, fixed issue with autocomplete enqueuing script too early