Fixed debug console (do not exit on error).
Adapted rake code to remove the dependency on ruby-terminfo.