init defaults
examples and test on app
main window works