Fix a lot of more issues

Also finishes the implementation of INIFile