Switch to UNIRest - simpler, fix leak, start prefs

UNIRest is a simpler interface with less of a memory issue
@autoreleasepool fixed the memory leak from the thread
Started to add preferences window drawing
Merge pull request #2 from tlunter/async

Switch to UNIRest - simpler, fix leak, start prefs