Revamp layout of result documents. Closes #54