RENEWED VERSION (indev)

Basic functionality is restored. Some settings are still missing though.
There is also a minimal export option now. More updates will follow.
renewed version
Merge remote-tracking branch 'origin/master' into renew