small refactor. auto window close
stop assets precompile
stop assets precompile correctly