GUI added, division checks updated