Added popup functions + cleanup
Added popup functions + cleanup

Put all functions inside a struct that will be copied instead of doing it for each function

RobertoMalatesta/ProDBG,SlNPacifist/ProDBG,v3n/ProDBG,emoon/ProDBG,emoon/ProDBG,SlNPacifist/ProDBG,kondrak/ProDBG,emoon/ProDBG,RobertoMalatesta/ProDBG,SlNPacifist/ProDBG,SlNPacifist/ProDBG,ashemedai/ProDBG,emoon/ProDBG,kondrak/ProDBG,SlNPacifist/ProDBG,SlNPacifist/ProDBG,ashemedai/ProDBG,ashemedai/ProDBG,kondrak/ProDBG,kondrak/ProDBG,emoon/ProDBG,RobertoMalatesta/ProDBG,v3n/ProDBG,ashemedai/ProDBG,v3n/ProDBG,v3n/ProDBG,RobertoMalatesta/ProDBG,RobertoMalatesta/ProDBG,v3n/ProDBG,ashemedai/ProDBG,ashemedai/ProDBG,emoon/ProDBG,kondrak/ProDBG,v3n/ProDBG,kondrak/ProDBG