Corrected way application is closed
Minor resize
Added button handling