more gui work

works on os x/mono, buggy on windows