Settings and OptionsPane cleanup. Allow launcher to re-open after closing minecraft. Corrected performance issues in Google Analytics library

Also, fixed pom.xml formatting and used for each loops where possible.

Signed-off-by: Ross Allan <rallanpcl@gmail.com>