changing the output textbox into a rich textbox
fixing merge and detached head
not sure anymore?