Strip comments + cleanup output