More logging, debugging and general annoying things!