fixed update code and removed useless stuff from initial patch
dlgprefplaylist uses library instance instead of sql connection
basic track adding works