Fixed user interface

Added an NSSplitpanel and a bunch of spacings and boudaries.