Started working on edgegrab cleanup, fixes and exit mode