Fixed compile error for -Wduplicate-decl-specifier on OSX
Merge branch 'master' into refactor

Conflicts:
	src/ui/core.c