Cellular automata sample working

Remove unnecessary device destruction in image_fill/filter samples.
Make plot_events.py executable.