Added preliminary background threading. A bit of console spam, but it's informative. Make sure to kill the app if you don't want it taking up cpu/battery. Should run for a max of 10 minutes, according to iOS guidelines.