Enabled hostname, fixed some gui bugs.