Init app.
Working base.

Taken from https://code.google.com/p/splmeter/source/browse/trunk/splGUI/src/com/splGUI/SplEngine.java.