Fixed gloss/toc/cotent synchronization and made some display tweaks