 
 		protected const nRelays:Number = nAxonRelays + nSparkleRelays;
 
+		protected const nButtons:Number = 11;
+
 		protected var ledState:Array;
 		protected var relayState:Array;
+
+		protected var buttonState:Array;
 
 		private var text3D:Text3D;
 		private var textMaterial:Letter3DMaterial;


			ledState = new Array(nLights);
			relayState = new Array(nRelays);
			getState();
			startRendering();


			axon.displayStructure(displayStructure);
			upperDodeca.displayStructure(displayStructure);
			lowerDodeca.displayStructure(displayStructure);
			text3D.visible = displayFps;

			if (rotate)
				soma.yaw(1);

			var scale:Number = stage.height/480;

			super.onRenderTick(event);
		}
