Ah I made a mistake.  I should have passed some data as arguments to getStatus.  That should be easy to fix.

Keep in mind that I wasn't able to run this on my own computer.  Also, right now I don't really remember how this program works.  :D