Fixed some crashes and added refresh button
Merge remote-tracking branch 'origin/master'