Fixes problem where non-sprite files stop being playable

This fixes issue #15 and #16.  See issue #15 for more details.  (I'm still getting the hang of using git, so please ignore the unnecessary commits and reverts.  There's actually only a very small change here, just one line of code.)