Improved the handling of the enabled state for queue entries.
Removed an unnecessary file.