add autogenerated list forms

also was ran autondent for MainWindow.qml
fix errors in struct.json,add referenceslist form
fix unused, restore show errors