Actually put the tasks in the tasksByPlugin Multimap (Fixes #1278)
Remove security manager