Fixed NullPointerException. Stdin is global now and statis duplicated. try-with-res is on. capitals.txt refixed. etc. seems to be stable. Though, exceptions are shouting out everything.