Whitespace; excepts with 'as'; code cleanup in set_space_status