I was wondering if i could put a code in there to change the bg to black.

Type /colour background 1

That makes the background black. There is no need to hack the .exe for that. The rest can be done with dll's.