added getProp function to read properties files, using it to read
version and window dimensions