Made numerous changes, but mostly implemented RepositoryPanel finally.