new class arena, main windowsize fix, arena implementation