Fixed serial message handling, added charts. Some UI and code
improvments.