Added the ability to change the source density via combobox