Fixed Console.log spam

Its a bit messy but it’ll do the trick until a code cleanup occurs
Merge pull request #140 from apandhi/master

Fixed Console.log spam