fixed some gui layout problems that were bothering me