Basic switch support, better assignment in x[z] expressions