Move status text functionality from html overlay to HUD

@BrettASwift 
`splice()` returns an array containing the removed items. We should try to avoid using it, since that array will be garbage collected later. This function would be a better substitute:
```
function removeElement( array, index ) {
    for ( var i = index; i < array.length - 1; i++ ) {
        array[ i ] = array[ i ] + 1;
    }
    array.length--;
}
```
We shouldn't need to return the array, but if it doesn't work, then add `return array;` to the end.