WA-07: fix flash vars, add debug rect