Removed last system call, aligned ds9, added a master flat button