Updated UI layout and color scheme; cleaned up scanning code