Small label cleanups
Bad extra close tag
Added guards to prevent accessing arrays when there isn't any data.
Resolves #52
Merge branch 'develop'