Fixed compile error from Obj-C++ objecting to casting ints to enums.
Made saving of app icons fail more gracefully.

q.v. https://github.com/alunbestor/Boxer/issues/33