Added GUI items, repair.

Added several GUI items needed, and auto-repair.