Prepare for rewriting document format around AMK
Fix BRR sample loop point validation, replace invalid with 0
This fixes crashes on debug builds when loading modules with loop points == sample length.
Add sample length field to sample dialog
Edited by nyanpasu64