Fixed problems with reading EmoStates

Fixed args and return types of DLL function; now times and battery
levels are correctly read.