A litte cleanup + removed my redundant code, its already handled by Lazarus.

Signed-off-by: Noah1911 <Noah1911x@gmail.com>