Made input mappings load from controls.ini. Made config parser ignore comments at the ends of lines.