Fixes for FM923

Fixes for boolean parsing and repeat counts in input. Only numeric
repeat counts are currently supported.