Edited dashboard. Cleaned up code.