Fixes some namespace errors. Updates pause/play behavior