More glue for admin in documentoptions and some dynamic widget stuff (not useable yet)