Replaced $! with $? in keymon prompt