use for instead of while; use standard method to create array and object
fix notification with ugly code
some simple process on CloseEvent
color select status
clean old option value; various small fix
fix bt-prioritize-piece in global option
code style