typo and fix error from converting to memory dict
More global fix
Remove commented code that was moved to IRC. Convert from concatenation to formatting