Clean MainWindow code
Clean Tracks code
Add JavaDoc