added preference bundle, many new features + bugfixes