There's an awful lot of problems with that post which you should fix up.
You should not be posting huge swathes of code like that.
You've actually posted the same code twice.
You didn't close the first <code> tag,
so you're comment about "just for fun" is lost amongst all the code.
You should use <spoiler> or <readmore> tags for any large tracts of code or data.
See "Writeup Formatting Tips".
The code you post should reproduce your problem.
It should also be presented in a way that we can also run it to try to help you.
Absolute pathnames on your machine (e.g. C:\\pb\\test\\images\\2018.06.15_EC_and_MP.jpg) are of no use to us.
See SSCCE.
You should remove all of the ASCII-art banners.
If you think the information they convey is essential, replace with a one-line comment.