Works, but still needs plenty of edits to work with the new QXlib