use better close button for the dialog & fix the size of the entrybox
(cherry picked from commit 5fcd51c)
add platforms module import path
(cherry picked from commit 2aac097)
remember original CWD, before changing it to the Mieru root directory
(cherry picked from commit bffc68e)
add BB10 platform module
(cherry picked from commit 266244b)
core file cleanup
(cherry picked from commit d0e3133)
handle core-dump removal errors
(cherry picked from commit d51d877)
use CWD in place of environmental variable
(cherry picked from commit 6022265)