!output and !stdout moved to dedicated functions

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Comment added

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>