[MAJ] avoids division-by-zero when pressing several keys at the same time
[MIN] code comments