Welcome to the forums!
PS. Next time organize your code with the tool that the thread editor gives you, it will make it much more clear. (It's these <> things in the editor)
How do you construct the Normal + Position + Depth maps? (That was my major issue back then)
If I'm not wrong they need to be view space normalized (modal space can also be taken into consideration).
PS. I might not be the best person to assist you, as I've accomplished my SSAO in a different manner, but I'll give it a shot!