Rename left-over instances of dbg to cursesDbg
Remove one more unused file
Remove noisy debug message
Minor MSVC2010 compilation fixes. Thanks llm