Moved -Sws to the end, might help with a few things. Fixed a few -Xws bugs.