Fixed and refactored bitmap loading and multiple sprite functions.

The spritestructarray now doubles in size each time it is needed,
and only grows when it is needed. This should make handling the size
of spritestructarray faster and easier. To do this, an internal
variable spritestructarray_actualsize is used, such that the
actual size can be tracked.