changes on main and client is made, guiinit() now takes 2 int parameters