framework fix

The JBus~isFunction check now works even for functions from other windows.