improving scala send to screen