Fixed typos
Re-organized code, added spinner, fixed tick marks on axis