fixed styles getting removed after 512 messages

This fixes a bug introduced in 2b4ed6f53cbca0f4691f63808f62c414e88234fe
causing the styles loaded by plugCubed to be removed after having 512
messages in the chat, while still making styles apply to chat in popout
view
fix autojoin

this fixes autojoin not properly initializing, which also caused
!joindisable to fail