remove invalid character
remove unnecessary spaces
fix en/disabling floating window
en/disable floating window instantly
added hide button on floating window