Many fixes. Gui now looks good and works well.