Switchung fixed and reflowable books working
Code cleanup, added comment headers.