more work on advanced gui...still sucks