Fixed error handling and in-document module links.
Updated dark theme.