Uncommented most DLL functions

Fixed trigger handling. Tested LED handling.