Updated UI layout and color scheme; cleaned up scanning code a little bit.