fix leak on timeconv, fix mpd updating

Should be last pull request before I start pushing straight to the main repo.