RunningAverage library error on compiling

I included the .h and .cpp files in the same directory and restarted the IDE. Now I've got a whole list of other errors that come up:

sketch_may05b.ino: In function 'void setup()':
sketch_may05b:19: error: 'RUNNINGAVERAGE_LIB_VERSION' was not declared in this scope
Error repainting line range {0,18}:
java.lang.ArrayIndexOutOfBoundsException: -235
	at javax.swing.text.Utilities.drawTabbedText(Utilities.java:132)
	at javax.swing.text.Utilities.drawTabbedText(Utilities.java:89)
	at javax.swing.text.Utilities.drawTabbedText(Utilities.java:67)
	at processing.app.syntax.SyntaxUtilities.paintSyntaxLine(SyntaxUtilities.java:157)
	at processing.app.syntax.TextAreaPainter.paintSyntaxLine(TextAreaPainter.java:647)
	at processing.app.syntax.TextAreaPainter.paintLine(TextAreaPainter.java:606)
	at processing.app.syntax.TextAreaPainter.paint(TextAreaPainter.java:415)
	at javax.swing.JComponent.paintToOffscreen(JComponent.java:5124)
	at javax.swing.RepaintManager$PaintManager.paintDoubleBuffered(RepaintManager.java:1475)
	at javax.swing.RepaintManager$PaintManager.paint(RepaintManager.java:1406)
	at javax.swing.RepaintManager.paint(RepaintManager.java:1220)
	at javax.swing.JComponent._paintImmediately(JComponent.java:5072)
	at javax.swing.JComponent.paintImmediately(JComponent.java:4882)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)
	at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)
	at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)
	at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Exception in thread "Thread-6" java.lang.ArrayIndexOutOfBoundsException: -45
	at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:232)
	at javax.swing.text.Utilities.getTabbedTextWidth(Utilities.java:191)
	at processing.app.syntax.JEditTextArea._offsetToX(JEditTextArea.java:582)
	at processing.app.syntax.JEditTextArea.scrollTo(JEditTextArea.java:464)
	at processing.app.syntax.JEditTextArea.scrollToCaret(JEditTextArea.java:429)
	at processing.app.syntax.JEditTextArea.select(JEditTextArea.java:1215)
	at processing.app.Editor.statusError(Editor.java:2608)
	at processing.app.Editor$DefaultRunHandler.run(Editor.java:1901)
	at java.lang.Thread.run(Thread.java:619)

Now it seems all upset about Java and involving processing (which Im using to make a GUI) and the arduino IDE has hung up.
Am I heading in the right direction?
Thanks again for the suggestions,
Jersh