 
 		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;

			axon.displayStructure(displayStructure);
			upperDodeca.displayStructure(displayStructure);
			lowerDodeca.displayStructure(displayStructure);

			trace(viewport.autoScaleToStage);

			if (rotate)
				soma.yaw(1);

			var scale:Number = stage.height/480;

			trace(stage.scaleMode);

			super.onRenderTick(event);
		}

			text3D.scale = 0.5;
			text3D.x = 800;
			text3D.y = 600;
			text3D.visible = displayFps;
			scene.addChild(text3D);

		}
