Move private methods to bottom of class in Ui

This is purely for ease of finding private methods.
Stop source panel opening in wrong position, fixes #40