Fixed issue on ByteArrayResource and started preparing GUI stuff