Area @main_sections a hash instead of array

Also section.id changed to lowercase
Corrected nocolor being inverted
Updates R/C/L line checking
Cleans up has_apply_flag some
Moves error report to Parsable