adaptions of lib and drv files for our needs. some clean up and fixes