General clean-up removing debug logs and whitespace.
Also made a variable for paint drawing in AIOMiner so less calculations are repeated