implemented SDL based file selector (flashenvui)
added res/ folder for ui
some minor code cleanup