no autoprinting for figure results
ignore #coding
ignore #coding
ignore #coding
close figures after saving
new figure testing
quite well working solution; not perfect but for now good enough