Added flush() to channel interface

Signed-off-by: Tom Wright <tom@inflatablecookie.com>
Fixed task payload launching

Signed-off-by: Tom Wright <tom@inflatablecookie.com>