added observers for display and console output. final version for desktop