Implement db_meta_*_string
Open database directly from main instead of library_open
Generate and store uniqueish id in database
Active task limiting and queueing