simplify Events constructors, add psd
number of events in title instead of messagebox
log script commands
Weveform and PSD Event views
fix leak in C module