Fixed memory leak in removeQueueItem().
Added various convenience methods.