Key event handled and picture switching and re-centered
Close button added