Onscreen IDE & dynamic instant update [_v0.5.4_]

I’m trying this on a development version of 1.6.0 on the Mac, so I’m not sure if this even should work… I’m very interested in trying this out since it is similar to something I wanted to do. At any rate, I get two different errors:

[edit: I see now that the difference between the two errors is whether brokenClass.py is included in the list of files]

$python IDE_STARTER.pyw 
########################################'
STARTING.....
########################################
Warning: DirectNotify: category 'Interval' already exists
Warning: DirectNotify: category 'Messenger' already exists
############### YOUR FILES ############### 
/Users/brent/code/panda3d-ide/testDynScene/dyn1.py
/Users/brent/code/panda3d-ide/testDynScene/jackClass.py
/Users/brent/code/panda3d-ide/testDynScene/pandaClass.py
/Users/brent/code/panda3d-ide/testDynScene/PauseResume.py
/Users/brent/code/panda3d-ide/testDynScene/smileyClass.py 
########################################## 
CWD :   /Users/brent/code/panda3d-ide/testDynScene 
########################################## 
DirectStart: Starting the game. 
Known pipe types:
  osxGraphicsPipe
(all display modules loaded.)
:display(warning): FrameBufferProperties available less than requested.
:util(warning): Adjusting global clock's real time by 3.36406 seconds.
Couldn't create QTNewDataReferenceFromFullPathCFString().
OpenCV ERROR: Internal error (invalid Movie handle)
	in function icvClose_QT_Movie, cvcap_qt.cpp(259)
Terminating the application...

Then, if I run it again I get a different error:

$python IDE_STARTER.pyw 
########################################'
STARTING.....
########################################
Warning: DirectNotify: category 'Interval' already exists
Warning: DirectNotify: category 'Messenger' already exists
############### YOUR FILES ############### 
/Users/brent/code/panda3d-ide/testDynScene/brokenClass.py
/Users/brent/code/panda3d-ide/testDynScene/dyn1.py
/Users/brent/code/panda3d-ide/testDynScene/jackClass.py
/Users/brent/code/panda3d-ide/testDynScene/pandaClass.py
/Users/brent/code/panda3d-ide/testDynScene/PauseResume.py
/Users/brent/code/panda3d-ide/testDynScene/smileyClass.py 
########################################## 
CWD :   /Users/brent/code/panda3d-ide/testDynScene 
########################################## 
Traceback (most recent call last):
  File "/Users/brent/code/panda3d-ide/OnscreenIDEdynamic/IDE.py", line 1004, in <module>
     renderFrame() # must be done to get the correct properties
  File "/Users/brent/code/panda3d-ide/OnscreenIDEdynamic/IDE.py", line 686, in renderFrame
     base.graphicsEngine.renderFrame()
NameError :  global name 'base' is not defined