Changed internal BW functions to beamware_x. Fixed beamlibrary startup error