Fixed: Removed redundant imageNameToFolio function
New: Some debugging code for fixing the back button bug