Large Update

Added Data Logging, Obtaining ADC data, Fixed crashing problems and
timing issues.