lazy-load report editor, build tweaks