Fix status bar bug. Closes #172.