I give up. Sorry
After some research, it was proven that there are more problems than I expected. After ~20 hours of coding, I don’t have nerves for fixing them, so I give up this time. Sorry.
Now either I’m gonna find out something new within 10 hours or simply won’t do anything; I don’t know yet.