Better arguments pharsing and improved rgb565 conversion