Is there anyway to make blender print errors in the UI? For some reason, sometimes error messages encountered while scripting are not printed in the info panel, only the message Python script fail, look in the console for now....  

One question I have is:
Why is this?

I like working with blender full screen, but it gets annoying having to switch back and forth between the terminal and blender while scripting.

Is there anyway to print stdout and stderr (I assume that is where blender is printing these messages) in the UI? (thus also solving the occasional necessity to restart blender because of not starting it from the terminal)

So my other question is: How can I do this?



I realize that this is technically two questions, but they seemed too related to separate.. I'll separate them if it's better that way.
I created a little utility addon that let's you easily run Text datablocks of your .blend (doesn't need to be saved) in the Python Console. Errors will show up there:Run Script in PyConsole (Menu)

You may also check out the Script Runner addon:
http://goodspiritgraphics.com/software/products/script-runner-addon/

It should be possible to run scripts like with Script Runner, but in the context of the Python Console. Some more info:

http://www.blender.org/documentation/blender_python_api_2_69_release/info_tips_and_tricks.html#executing-external-scripts