Move file-handling behavior to main.c
convert goombasav to pure c++ project
Add option to read stateheader from file without editing it