Make weighting inverse linear not inverse quadratic
Make number of songs a parameter to generator
Avoid failure on an empty library
Avoid setting a default height for the dialog
Add lots more documentation