bug fixes (but not verified...)

replaced image for UbuntuMono with one with a black background. transparent image is not correct, since iOS premultiplies everything :(
also fixed some obvious errors in code.