Default exit and key handling added...