Fix undefined contants / handles empty admin url

- Removed GoogleSpell class as it's depreciated