Add onscreen parameter to enable/disable flash (and other screen based) rendering