Moved windston init code.