formatted source code and more GUI stuff