erlang:display/1 output ends up in the proper place