Updated readme to match new foreground and background callbacks.