Fix the access code to be easier to deal with, and properly handle guest users.  Also, fixed issues related to extended sql when running non-queries.  Added a template concept for default branch permissions.
Started work on standardizing the error and loading state for the components, to allow better reuse on sub-components.