Added the empty() method to the GUI interpreter thread to determine if the internal queue is empty.
Authored by: bugman 2011-08-25
Parent: [r14454]
Child: [r14456]