implemented isSolid() test; simplified cork.h; trimmed number of headers

This commit closes issue #2 and issue #8