staticGet -> getKV
!is_null() -> isset()

Gets rid of warnings, isset() returns false on null
Catch and ignore avatar exception
Make sure vars are arrays before imploding them

Gets rid of warnings