Fix for issue #1 - now portlet does not update its height in case it's collapsed.  Added JavaDocs, made minor fixes.