Basic JavaDoc and some design flaw fixes
More javadoc & some missing window functions