now delaying script execution while vars are busy

Change-Id: Ib33726c9879851c324b298f7a2387ef0b4a98588
fixed titlebar display bug when toggling enableToolControls

Change-Id: If9ff60c792f2555da40d02c2d1886e4485a0016e