change size of footer in read() function
remove space stripping from dictionary flip
debug version, comment support (print to console)