 	 */	
 	public function save():void
 	{
-		if (!ApplicationGlobals.application.historyManagementEnabled)
+        if (!("historyManagementEnabled" in ApplicationGlobals.application) ||
+            !ApplicationGlobals.application.historyManagementEnabled)
 			return;
 
 		var haveState:Boolean = false;

		var p:String;
		var crc:String;
			
		if (!ApplicationGlobals.application.historyManagementEnabled)
			return;

		var pieces:Array = event.url.split(PROPERTY_SEPARATOR);

		if (appID)
			return;

		if (!("historyManagementEnabled" in ApplicationGlobals.application) ||
            !ApplicationGlobals.application.historyManagementEnabled)
			return;

		var loaderInfo:LoaderInfo;
