add version info to Qt build and other minor code improvements