Optimization, Bugs, Logging

More optimization needs to be done, fixed some bugs with UIColors not
representing the correct colors. Improved logging everywhere. Release
for iPhone close. Bug: sorting by creation date for favorites no longer
works.