foreground frame header support

add functions to help with foreground frame configuration