Update dash.cpp

Code clean up for slide