added checking params->regular_track_count > 0 in init to avoid div by 0
added checking params->regular_track_count > 0 in init to avoid div by 0

[can and should be backported to master]
rohlem/notelib,rohlem/notelib