Moved the main code to DreamStream.java to prepare for use as an actual
app and live wallpaper.