various small namespace related fixes and removal of worthless try catches