New stuff

Now retains the number of events and images taken. also some processor
fixes to prevent crashes. new limit on how many pixels can trigger a
save ( dont want to save non events like when the ccd is exposed to
light!)