Fix btn plugin with no results
Series plugin now unmarks the database when tasks are removed
Refactor emit_series a bit