fixed input handling
fix core loading/unloading
fix RGB32 rendering