Fixed crash when particle type is invalid. Fixed right-clicking on particle type selection screen. Closes #66