Large Update: Added data logging, fixed bugs and UI capabilities