Put errors in there proper error XMLElement

Fixes #26
Filter explode return value to remove empty values

Fixes #23