Semi-working UI code now.
Added some stats stuff to the UI.

Should really set a refresh rate on it... :hmmm:
Merge pull request #3 from ValliusDax/master

UI code & some buffer management stuff.