Added more bugsense logging
Things from the bugs todo list
Clean up of some warnings