Remove qDebugs and use for(:) instead of foreach
Formatting and update licenses
Small but fatal bug in version sorting