Bugfix to Pastebin loading

Progress on viewer included