Prettify code. Fix simView so it works when using iOS 6 Constraints. Fixed NullPointer Exceptions in StopScanning when using Simulator.