Fix if metadata contains white space
General plotting changes
Added event set generator