initial console mode in frestq
fixing duck-typing in synchronous tasks