flash vars, better layout and redirects