Add error message when general section is missing

Fix #43
Fix #45