Refactor SonareScene._open to open, clear and loadFunc.
Add flags list.
Move r2core object and function loading from SonareScene to main window object.
Refactor SonareWindow.__init__ to smaller methods.
Switch functions on double-click in flag list. (closes #3).