added some playing around  files and added quit event