Main now in loop with ESC possibility