Ball rolls nicely, repaint working, code beautifing.