Modified preferences

Maybe now we will be compatible with JRE 1.6
Updated SkeletonManager

More convenient, also added helping javadoc comments.