use del for python dict
make sure content is always a string
more fixes; now everything seems to work the same way as the C++ example
fix two more bugs; thanks frispete
implement the "open in new window" context menu functionality