Bumping version to 0.5.0, because it feels right.
Fixing a funny variable name.