Initial Nginx attempt, many cleanups & reliability fixes