void displayCurrentPage()
{
if(currentPage() == null || currentPage().texture == null || currentPage().code == null)
{
Debug.Log("Current " + currentPage().texture + " " + currentPage().code);
enabled = false;
previous_state.active = true;
return;
}
GUI.DrawTexture(new Rect(0,0,Screen.width,Screen.height),currentPage().texture);
if(!currentPage().code.Equals(""))
showCode();
}