force layout working better. added some GUI testing code