Improved repository management.

Status now works better for main menu.