fixed a few small things and gui fixed