Modified dashboard to work with XBee system

Cleaned code