Fixed an issue where module objects weren't being added to the DB correctly. Reworked Name/Tag/Resref data validation entry.