remove tracks that have no notes, no track DSPs and no global effects in the effect column (but might have random stuff in the volume, pan and fx columns, or note-offs)
anything else others might come up with?
(might be a worthy php script, too, but still would be nicer inside Renoise…)