New locking mechanism for background tasks
Fixed display of lock status in Settings > Projects
More adjustments for locks
Moved VariantManager into API package
Fixed a bug where entries were not being removed from variant_file upon removal