RAM Improvements

Hopefully improved the RAM usage

Signed-off-by: propoke24 <propoke24@gmail.com>