fixed Cancel button position in spell dialog
fixed a crash when the http server returns invalid http data
added cs background and lock in button