updating log
vast improvements to logging system
added logging into the texts