Merge pull request #25 from robstryker/JBIDE-13782_runtimeDetection

JBIDE-13782 updates for more complete runtime detection
JBIDE-13782 further changes for better nesting