make bookmarks work in python3 / Qt5