WObject array in the State class + autodetect screen size + testing.