Added support for selecting text within the formatted code div and added loading screen div