Bug with control fixed. Added 'Quit' button