Update notewiki.py

more sensible options.
more consistent error reporting.
index note on export.