added ranking dialog

added ranking dialog
bugfixes

bugfixes