Removed completed tasks
Make this be crossplatform