Removed duplicate repaint
Removed unused method.
Merge remote-tracking branch 'origin/master'