moved usb trigger to trigger bitset, further cleaning up on main handler, cleaning up delay handling