Fixing a few errors, adding support for attributedPlaceholder

This doesn't do anything, as the main thread is blocked by the animation that's occurring. I understand what you're trying to do though - you're trying to have the label animate right before the placeholder shows, which is why you have the `== 1` conditional. Nice attempt, but sadly, it doesn't work.