Major bug Fixes, some optimizations, code cleanup, etc. Re-install zimlib before compiling.