[JBIDE-18301] correctly detect sub-projects and warn user
[JBIDE-18298] fix black background in StyledText for RHEL 6.5