Increase query title max length to 249 characters; when creating the project_properties database table, you need to use at least varchar(253), though I suggest varchar(255), which allows a couple characters for random file generation
Removed a couple unused imports