Added stat tracking to GUI, adjusted other things.