scope - added memory view, fixed glib compatibility