Removing a bunch of deprecated functions triggered on activation
Fix empty array variable access
Merge pull request #16 from mpeshev/master

Several updates throwing notices and activation issues