remove things not compatible with polar rendering
add debug box