Updated arduino code and added to repository, lots of fixes to gui
functionality.