added hooks to further prevent editing while playing