Filter empty strings, make maxCount work, calculate max z-index needed for word-cloud to be on top