gproject: Deactivate sidebar when no project loaded
gproject: Don't use geany private functions