Added ability to filter out history and queue entries.
Added api to remove entries from queue/history.