Render refactor (with couple of fixes)

@gamedevsam What do you think? Having the `Flx` prefix inside function / variable names always seemed weird to me...