readded autorespawn
added autorespawn config option
fixed some other config related stuff