break out xwl init/shutdown into static functions for reuse internally
break out xwl init/shutdown into static functions for reuse internally

calling modapi functions like this causes symbol collision and randomly
calls corresponding functions for other modules

rvandegrift/e,tasn/enlightenment,rvandegrift/e,rvandegrift/e,tasn/enlightenment,tasn/enlightenment