Changed spinner dialog to frameless. Added proper error handling for unsuccessful commands. Fixed encoding problems with html_response variations.