enable compound preferences and staging

mostly working, potential bugs.
need to prevent adding of duplicates.