Update playback.py

- Changed playbacklock to a boolean and removed the thread responsible for tracking position. The thread and thread event block other processes from running.
- changed DB to db_dir in line 80.