added additional gui components and some background work