Implement usage counter deduction properly.
Add windows support.
Make mark_done.sh executable.