Added exception handling for SmartDashboard, and Log functions.