corrected errors in sample trigger module, fixed a few other typos