Fix the page-local get_by_id feature.
Related to issue #10
Added initial "autoarchive" feature. This doesn't work yet, I need to finetune it!