Updated for relocated headers and new prompt system. Should work on Mavericks now.

Signed-off-by: Atheriel <atheriel@gmail.com>