Log storage and new windowing, fixes #9