FINAL 2

Added window closing on Esc